/* jquery.touch v1.1.0 | (c) @ajlkn | github.com/ajlkn/jquery.touch | MIT licensed */ (function($) { var $document = $(document), dragTarget = null, dropTargetElement = null; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Defaults ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Default settings. * * @type {object} */ var defaultSettings = { // If true, touch inputs will trigger touch events. useTouch: true, // If true, mouse inputs will trigger touch events. useMouse: true, // If true, certain events (like drag) can continue to track even if the mouse cursor leaves the originating element. trackDocument: false, // If true, when "trackDocument" is enabled, coordinates will be normalized to the confines of the originating element. trackDocumentNormalize: false, // Disables "click" event (prevents both "tap" and "click" firing on certain elements like